package com.fansl.koala.quickdev.component.message.email.service;

import com.fansl.koala.quickdev.common.bean.entity.SendMailMessage;

/**
 * @author fansl
 * @Description: email发送服务类
 * @date 2020/3/18 17:33
 */
public interface MailService {
    /**
     * 发送多媒体类型邮件
     *
     * @param mailMessage
     */
    Object sendMimeMail(SendMailMessage mailMessage) throws Exception;

    /**
     * 发送简单消息
     * @param mailMessage
     * @return
     * @throws Exception
     */
    Object sendSimpleMail(SendMailMessage mailMessage) throws Exception;
}
